<?php

$returnStr = "<table class = \"footerCopyright\"><tr><td>© Copyright 2007-2012 Selma, s.r.o.</td></tr></table>";
if (isset( $_SESSION[ 'logged_user' ] ))
{
    $currentUser = unserialize( $_SESSION[ 'logged_user' ] );
    $loggedUserStr = isEnglish() ? "Logged user:" : "Prihlásený používateľ: ";
    $loggedUserStr .= $currentUser->name . " " . $currentUser->surname . "&nbsp";
    $returnStr .= "<table class = \"footerLogin\"><tr><td>$loggedUserStr</td></tr></table>";
}
   
echo( "<div class=\"footerStyle\">" );
echo( $returnStr );
echo( "</div> " );

?>
